import 'package:aone_common/entities/entities.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:webview_flutter/webview_flutter.dart';

class GameView extends StatelessWidget {
  const GameView({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    GameInitEntity param = Get.arguments;

    return WebView(
      javascriptMode: JavascriptMode.unrestricted,
      initialUrl: param.url,
    );
  }
}
